/**
 * 功能说明:
 * 功能作者:
 * 创建日期:
 * 版权归属:每特教育|蚂蚁课堂所有 www.itmayiedu.com
 */
package com.myproject.sbp.order.api.feign.fallback;

import com.myproject.sbp.base.common.CommonRuntimeException;
import com.myproject.sbp.member.model.Member;
import com.myproject.sbp.order.api.feign.MemberServiceFeign;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author ywh
 */
@Component
public class MemberServiceFallback implements MemberServiceFeign {

	@Override
	public List<Member> queryMemberList() {
		throw new CommonRuntimeException("500", "请求异常");
	}

}